Doctors used these to reflect light on their patients. After flashlights were invented, they continued to wear them because they looked cool.